<admintpl file="header"/>
<head/>
<body>
<div class="wrap J_check_wrap">
  <ul class="nav nav-tabs">
     <li <eq name="state_id" value="">class="active"</eq>><a href="{:U('admin/Account/account_cash')}">全部提现</a></li>
     <li <eq name="state_id" value="0">class="active"</eq>><a href="{:U('admin/Account/account_cash',array('state_id'=>0))}">审核中</a></li>
     <li <eq name="state_id" value="1">class="active"</eq>><a href="{:U('admin/Account/account_cash',array('state_id'=>1))}">审核通过</a></li>
     <li <eq name="state_id" value="2">class="active"</eq>><a href="{:U('admin/Account/account_cash',array('state_id'=>2))}">审核未通过</a></li>
  </ul>
    <div class="row">
        <div class="span12">
            <form class="form-inline" method="post" action="{:U('User/Account/account_cash',array('typeid'=>$wtype))}" >
                            用户名
                <input type="text" class="input-small" name="so_name" placeholder="用户登录名" value="{$so_name}">
           状态
                <select style="width:100px;" name="status">
                	<option value="3">全部</option>
                	<option <eq name="state" value="0"> selected="selected" </eq> value="0">审核中</option>
                	<option <eq name="state" value="1"> selected="selected" </eq> value="1">已通过</option>
                	<option <eq name="state" value="2"> selected="selected" </eq> value="2">未通过</option>
                </select>
                用户提现时间从
                <input type="text" class="input-small J_date" name="so_start" placeholder="开始时间" value="{$so_start}">
                到
                <input type="text" class="input-small J_date" name="so_end" placeholder="结束时间" value="{$so_end}">
                <button type="submit" class="btn" >搜索</button>
            </form>
        </div>
    </div>

  <div class="table_list">


    <table width="100%" cellspacing="0" class="table table-hover">
      <thead>
        <tr>
          <th width="20">ID</th>
          <th align="left" >用户名</th>
          <th align="left" >真实姓名</th>
          <th align="left" >提现银行</th>
          <th align="left" >提现账号</th>
          <th align="left" >提现总额 </th>
          <th align="left" >到账金额 </th>
          <th align="left" >手续费</th>
          <th align="left" >提现时间</th>
          <th align="left" >状态 </th>
          <th width="30">管理</th>
        </tr>
      </thead>
      <tbody>
        <foreach name="content" item="vo">
        <tr>
          <td>{$vo.id}</td>
          <td>{$vo.user_name}</td>
          <td>{$vo.real_name}</td>
          <td>{$vo.bank_name}</td>
          <td>{$vo.bankcard}</td>
          <td><?php echo number_format($vo['money']+$vo['fee'],2);?></td>
          <td>{:number_format($vo['money'],2)}</td>
          <td>{:number_format($vo['fee'],2)}</td>
          <td>{:date("Y-m-d H:i:s",$vo['create_time'])}</td>
          <td><if condition="$vo.status eq 1">成功<elseif condition="$vo.status eq 2"/>失败<else/>审核中</if></td>
          <td  class="text-c">
          <if condition="$vo.status neq 0">
          		<a href="{:U('admin/Account/cash_review',array('id'=>$vo['id']))}" class="J_dialog">查看</a>
          <else />
          		<a href="{:U('admin/Account/cash_review',array('id'=>$vo['id']))}" class="J_dialog" title="审核{$vo.user_name}提现" >审核</a>
          </if>
          </td>
        </tr>
        </foreach>
      </tbody>
    </table>
      <div class="pagination">{$page}</div>
  </div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>